import time


class DictDemo:
    def _test_ditems(self):
        """
        dd = DictDemo()
        dd._test_ditems()
        """
        dicts = {'name': 'lizhen', 'gender': 'M'}
        for key, value in dict.items(dicts):
            print key, '\t', value
            time.sleep(1)


if __name__ == '__main__':
    dd = DictDemo()
    dd._test_ditems()
